package demo2;

public class Text {


    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.addLast(12);
        myLinkedList.addLast(23);
        myLinkedList.addLast(34);
        myLinkedList.addLast(45);
        myLinkedList.addLast(56);
        myLinkedList.addLast(67);
        myLinkedList.addLast(78);
        myLinkedList.display();
        myLinkedList.remove(45);
        myLinkedList.display();

    }
}
